package entity;

import java.util.List;

/**
 * Created by liuxiaobin on 2016/10/10
 * 首页底部和顶部的实体
 */
public class Home{

    /**
     * appname : 牛郎WIFI
     * code : 1
     * bottomTabBar : [{"selectedIcon":"","icon":"","title":"主页","order":1,"type":"zhuye"},{"selectedIcon":"","icon":"","title":"个人中心","order":3,"type":"gerenzhongxin"},{"selectedIcon":"","icon":"","title":"报障","order":2,"type":"","url":"www.baidu.com"}]
     * topTapBar : [{"selectedIcon":"","icon":"","title":"下拉菜单","order":1,"type":"xialacaidan"}]
     * comboBoxTapBar : [{"selectedIcon":"","icon":"","title":"扫一扫","order":1,"type":"saoyisao"},{"selectedIcon":"","icon":"","title":"支付","order":2,"type":"","url":"www.baidu.com"},{"selectedIcon":"","icon":"","title":"报障","order":3,"type":"","url":"www.baidu.com"}]
     */

    private String appname;
    private int code;
    private int[] noticeArea;
    private String noticeId;
    private String noticeUrl;

    public int[] getNoticeArea() {
        return noticeArea;
    }

    public String getNoticeId() {
        return noticeId;
    }

    public String getNoticeUrl() {
        return noticeUrl;
    }


    public void setNoticeArea(int[] noticeArea) {
        this.noticeArea = noticeArea;
    }

    public void setNoticeId(String noticeId) {
        this.noticeId = noticeId;
    }

    public void setNoticeUrl(String noticeUrl) {
        this.noticeUrl = noticeUrl;
    }

    /**
     * selectedIcon :
     * icon :
     * title : 主页
     * order : 1
     * type : zhuye
     */

    private List<BottomTabBarBean> bottomTabBar;
    /**
     * selectedIcon :
     * icon :
     * title : 下拉菜单
     * order : 1
     * type : xialacaidan
     */

    private List<TopTapBarBean> topTapBar;
    /**
     * selectedIcon :
     * icon :
     * title : 扫一扫
     * order : 1
     * type : saoyisao
     */

    private List<ComboBoxTapBarBean> comboBoxTapBar;

    public String getAppname() {
        return appname;
    }

    public void setAppname(String appname) {
        this.appname = appname;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<BottomTabBarBean> getBottomTabBar() {
        return bottomTabBar;
    }

    public void setBottomTabBar(List<BottomTabBarBean> bottomTabBar) {
        this.bottomTabBar = bottomTabBar;
    }

    public List<TopTapBarBean> getTopTapBar() {
        return topTapBar;
    }

    public void setTopTapBar(List<TopTapBarBean> topTapBar) {
        this.topTapBar = topTapBar;
    }

    public List<ComboBoxTapBarBean> getComboBoxTapBar() {
        return comboBoxTapBar;
    }

    public void setComboBoxTapBar(List<ComboBoxTapBarBean> comboBoxTapBar) {
        this.comboBoxTapBar = comboBoxTapBar;
    }

    public static class BottomTabBarBean {
        private String selectedIcon;
        private String icon;
        private String title;
        private int order;
        private String type;
        private String url;

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getSelectedIcon() {
            return selectedIcon;
        }

        public void setSelectedIcon(String selectedIcon) {
            this.selectedIcon = selectedIcon;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getOrder() {
            return order;
        }

        public void setOrder(int order) {
            this.order = order;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }

    public static class TopTapBarBean {
        private String selectedIcon;
        private String icon;
        private String title;
        private int order;
        private String type;

        public String getSelectedIcon() {
            return selectedIcon;
        }

        public void setSelectedIcon(String selectedIcon) {
            this.selectedIcon = selectedIcon;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getOrder() {
            return order;
        }

        public void setOrder(int order) {
            this.order = order;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

    }

    public static class ComboBoxTapBarBean {
        private String selectedIcon;
        private String icon;
        private String title;
        private int order;
        private String type;
        private String url;

        public String getSelectedIcon() {
            return selectedIcon;
        }

        public void setSelectedIcon(String selectedIcon) {
            this.selectedIcon = selectedIcon;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getOrder() {
            return order;
        }

        public void setOrder(int order) {
            this.order = order;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }
}
